const Layout = () => import('@/layout/index.vue')
const SysUser = () => import('@/views/system/sysUser.vue')
const SysRole = () => import('@/views/system/sysRole.vue')
const SysMenu = () => import('@/views/system/sysMenu.vue')

export default [
  {
    path: '/system',
    component: Layout,
    name: 'system',
    meta: {
      title: '系统管理',
    },
    icon: 'icon-home',
    children: [
      {
        path: '/user',
        name: 'system-user',
        component: SysUser,
        meta: {
          title: '用户管理',
        },
      },
      {
        path: '/role',
        name: 'system-role',
        component: SysRole,
        meta: {
          title: '角色管理',
        },
      },
      {
        path: '/menu',
        name: 'system-menu',
        component: SysMenu,
        meta: {
          title: '菜单管理',
        },
      },
    ],
  },
]
